home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / quake / regged-l.txt < prev    next >
Text File  |  1996-11-17  |  2KB  |  65 lines

  1. RUNNING REGISTERED QUAKE IN LINUX
  2.  
  3. Here's how I ran registered quake under Linux.  I suspect not everything
  4. will work, but I played through about half of e2m1, and it seemed okay.
  5.  
  6. Here's what you need:
  7.  
  8. . Working Linux Shareware Quake 0.91 setup (the tar says 0.91, the
  9.    game says 0.92 when you run it) from ftp.lek.net:/pub/linux/quake/
  10. . Registered DOS Quake -- 1-800-IDGAMES
  11. . qeu from
  12.   ftp://ftp.cdrom.com/pub/idgames2/utils/bsp_pak_tools/qeu03.zip
  13. . Python
  14.  
  15. First, put this script in bspver.py <<EOF
  16. #!/usr/local/bin/python
  17. from sys import argv
  18. for i in argv[1:]:
  19.     try:
  20.         f=open(i, "r+")
  21.         c=ord(f.read(1))
  22.         d=ord(f.read(1))
  23.         print "%s was version %d" % (i,d*256+c)
  24.         f.seek(0)
  25.         f.write(chr(28))
  26.         f.write(chr(0))
  27.         f.close()
  28.         print "Converted %s to version %d" % (i, 28)
  29.     except IOError, what:
  30.         print "Failed to convert %s: %s" % (i, what)
  31. EOF
  32.  
  33. Unpak registered's id1/pak1.pak into the id1 directory of Linux
  34. shareware quake.  For me, the command was
  35.  /usr/src/qeu/unpak -d /usr/src/quake/id1 /dosc/games/quake/id1/pak1.pak
  36.  
  37. Then, change the version of the bsp files:
  38.  python bspver.py /usr/src/quake/id1/maps/*.bsp
  39.  
  40. Finally, run xquake or xf86quake.  You'll need to adjust the gamma
  41. setting on e2-e4 maps, since the levels appear overly dark compared to
  42. e1 or e2-e4 in DOS.  I suspect this is related to the "overbrighting"
  43. introduced in 1.00.
  44.  
  45. And, the step after finally is to send mail to johnc@idsoftware.com
  46. telling him how important having a real version of registered linux
  47. quake is to you.  Dave Taylor, now at crack.com, is willing to do the
  48. work, as he did with qtest and the shareware, but wants Carmack to
  49. give him credit for his work.  I don't know the whole story, but I
  50. think that John Carmack is the one who needs gentle pressure to get
  51. Linux Quake moving again.
  52.  
  53. Please let me know if this works for you, if my instructions can be
  54. clearer, etc.  You can reach me as jepler@inetnebr.com.
  55. -------
  56. Other Linux Quake tips:
  57.  
  58. If you can't get sound (quake crashes without -nosound), try setting
  59. these environment variables:
  60.  QUAKE_SOUND_CHANNELS=1
  61.  QUAKE_SOUND_SAMPLEBITS=8
  62.  QUAKE_SOUND_SPEED=11000
  63. In some recent versions of the kernel, stereo sound is incorrectly
  64. detected and causes an error in Quake.
  65.